package one.stand.fallback;

import com.jmp.base.dto.*;
import com.jmp.feign.LiveFeign;
import one.stand.model.ResultModel;
import org.springframework.stereotype.Component;

@Component
public class LiveFallback implements LiveFeign {
    @Override
    public ResultModel<LiveListVo> list(LiveListRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel save(LiveSaveRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<LiveInfoResponse> info(LiveInfoRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel remove(LiveRemoveRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel goodsAdd(LiveGoodsAddRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel goodsUpdate(LiveGoodsUpdateRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<LiveGoodsListResponse> goodsList(LiveGoodsListRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel backView() {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel back(LiveBackRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<LiveOpenResponse> open(LiveOpenRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel quit(LiveQuitRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel timeout(LiveTimeoutRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel end(LiveEndDto request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<LiveVideoListVo> videoList(LiveVideoListDto request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<LiveVideoSaveSignVo> videoSaveSign(LiveVideoSaveSignDto request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<LiveVideoSaveNotifyVo> videoSaveNotify() {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel videoUp(LiveVideoUpDto request) {
        return ResultModel.faultTolerant();
    }
}
